<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>Document</title>
    <link rel="stylesheet" th:href="@{/lib/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/css/lx/xcfafang.css}">
    <script th:src="@{/js/jquery-3.6.0.js}"></script>
    <script th:src="@{/lib/layui/layui.js}"></script>
    <script th:src="@{/js/lx/fafangDetail.js}"></script>
</head>

<body>

<div class="xcbox">

    <div class="xcbox2">
        <table class="layui-table table-detail">
            <tr>
                <td>序号</td>
                <td>Ⅰ级机构名称</td>
                <td>Ⅱ二级机构名称</td>
                <td>人数</td>
                <td>基本薪酬总额（元）</td>
                <td>实际薪酬总额（元）</td>
                <td>操作</td>
            </tr>
            <tr th:each="sd,infod : ${lx}">
                <td th:text="${infod.count}"></td>
                <td th:text="${sd.getStairName()}"></td>
                <td th:text="${sd.getSecondName()}"></td>
                <td th:text="${sd.getNumber()}"></td>
                <td th:text="${sd.getTotal()}"></td>
                <td th:text="${sd.getActual()}"></td>
                <td th:if="${sd.getState()}==0"><a th:href="@{/xc/byId/{fid}/{lid}/{state}(fid=${sd.getPid()},lid=${sd.getId()},state=${sd.getState()})}">登记</a></td>
                <td th:if="${sd.getState()}==1"><a th:href="@{/xc/byId/{fid}/{lid}/{state}(fid=${sd.getPid()},lid=${sd.getId()},state=${sd.getState()})}">复核中</a></td>
                <td th:if="${sd.getState()}==2"><a th:href="@{/xc/byId/{fid}/{lid}/{state}(fid=${sd.getPid()},lid=${sd.getId()},state=${sd.getState()})}">通过</a></td>
            </tr>
        </table>
    </div>
    <div class="xcbox3">
        <button type="button" class="layui-btn layui-btn-primary" onclick="fanhui()">返回</button>
    </div>

</div>
</body>

</html>